package com.echo.im.common.dto;


import lombok.Data;

/**
 * @author: echo
 * @time: 2024-08-22
 */
@Data
public class MessageDTO<T> {

    private Boolean isNeedId;

    private Boolean isNeedOfflineStore;

    private Boolean isNeedStore;

    private Boolean isAnonymous;

    private Boolean isNeedACK;

    private Boolean isNeedSendToSelf;

    private T packet;

    public MessageDTO(T packet) {
        this.packet = packet;
    }
}
